/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zequs
 * @version 2017-08-30
 */
public class QxTeamMatch extends DataEntity<QxTeamMatch> {
	
	private static final long serialVersionUID = 1L;
	private String matchid;		// 比赛id
	private Integer wheel;		// 轮
	private String leagueid;		// 联赛
	private Integer homeType;		// 主客场
	private Integer result;		// 结果
	private String teamid;		// 球队id
	private Integer score;		// 比分
	private Double oddsWin;		// 赔率赢
	private Double oddsEven;		// 赔率平
	private Double oddsLose;		// 赔率输
	
	public QxTeamMatch() {
		super();
	}

	public QxTeamMatch(String id){
		super(id);
	}

	@Length(min=1, max=64, message="比赛id长度必须介于 1 和 64 之间")
	public String getMatchid() {
		return matchid;
	}

	public void setMatchid(String matchid) {
		this.matchid = matchid;
	}
	
	public Integer getWheel() {
		return wheel;
	}

	public void setWheel(Integer wheel) {
		this.wheel = wheel;
	}
	
	@Length(min=0, max=64, message="联赛长度必须介于 0 和 64 之间")
	public String getLeagueid() {
		return leagueid;
	}

	public void setLeagueid(String leagueid) {
		this.leagueid = leagueid;
	}
	
	public Integer getHomeType() {
		return homeType;
	}

	public void setHomeType(Integer homeType) {
		this.homeType = homeType;
	}
	
	public Integer getResult() {
		return result;
	}

	public void setResult(Integer result) {
		this.result = result;
	}
	
	@Length(min=1, max=10, message="球队id长度必须介于 1 和 10 之间")
	public String getTeamid() {
		return teamid;
	}

	public void setTeamid(String teamid) {
		this.teamid = teamid;
	}
	
	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}
	
	public Double getOddsWin() {
		return oddsWin;
	}

	public void setOddsWin(Double oddsWin) {
		this.oddsWin = oddsWin;
	}
	
	public Double getOddsEven() {
		return oddsEven;
	}

	public void setOddsEven(Double oddsEven) {
		this.oddsEven = oddsEven;
	}
	
	public Double getOddsLose() {
		return oddsLose;
	}

	public void setOddsLose(Double oddsLose) {
		this.oddsLose = oddsLose;
	}

}